<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>  

<jsp:include page="helpers/layout_header.jsp"></jsp:include>

<%-- body --%>
	<jsp:include page="helpers/header_login.jsp" />

	<div id="div-form" class="row">
		<form:form id="form-cadastro" class="custom" action="cadastrarUsuario" method="post" modelAttribute="usuario">
			<h1>Cadastro de Usuário</h1>
			<div class="row collapse">
				<div class="large-6 small-12 columns">
					<label for="nomeCompleto">Nome Completo</label>
					<form:input type="text" path="nomeCompleto" value="" />
				</div>
			</div>
			<div class="row collapse">
				<div class="large-6 small-12 columns">
					<label for="dataNascimento">Data de aniversário</label>
					<form:input type="date" path="dataNascimento" value="" />
				</div>
			</div>
			<div class="row collapse">
				<div class="large-6 small-12 columns">
					<label for="cpf">CPF</label>
					<form:input type="text" path="cpf" value="" />
				</div>
			</div>
			
			<div class="row collapse">
				<div class="large-6 small-12 columns">
					<label for="login">Login</label>
					<form:input type="text" path="login" value="" />
				</div>
			</div>
			<div class="row collapse">
				<div class="large-6 small-12 columns">
					<label for="senha">Senha</label>
					<form:input type="password" id="senha" path="senha" value="" />
				</div>
			</div>
			<div class="row collapse">
				<div class="large-6 small-12 columns">
					<label for="senha">Confirme sua senha</label>
					<form:input type="password" id="senhaConfirm" path="senhaConfirm" value="" />
				</div>
			</div>
			<div class="row">
				<div class="large-6 small-6">
					<button type="submit" class="button radius right">Cadastrar</button>
				</div>
				<div class="large-6 small-6">
					<a href="/unb-museu" class="button radius alert right">Cancelar</a>
				</div>
			</div>
		</form:form>
	</div>

<%-- /body --%>

<jsp:include page="helpers/layout_footer.jsp"></jsp:include>